@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <input type="hidden" id="orgId" value="${model.orgId}">
                            <input type="hidden" id="schoolYear" value="${model.schoolYear}">
                            <input type="hidden" id="gradeId" value="${gradeId}">
                            <input type="hidden" id="graduationStatus" value="${graduationStatus}">
                            <input type="hidden" id="classIds" value="${classIds}">
                            <input type="hidden" id="classId" value="${clzz.id}">
                            <input type="hidden" id="graduateState" value="${graduateState}">
                            <div class="row">
                                <div class="col-lg-10 col-sm-9">
                                    <div class="row">
                                        <div class="col-lg-3 col-sm-4">
                                            <#SelectCon id="classId" name="班级" underline="true">
                                            <option value="">请选择...</option>
                                            @for(class in classList){
                                            <option value="${class.id}" ${class.id==model.classId?'selected':""}>${class.name}</option>
                                            @}
                                        </#SelectCon>
                                    </div>
                                    <div class="col-lg-3 col-sm-4">
                                        <#NameCon id="userName" name="姓名" value="${model.userName}" />
                                    </div>
                                    <div class="col-lg-3 col-sm-4">
                                        <#SelectCon id="graduateState" name="毕业状态" underline="true">
                                        <option value="">所有毕业状态</option>
                                        <option value="5" ${graduationStatus==5?'selected':'' }>未毕业</option>
                                        <option value="6" ${graduationStatus==6||graduationStatus==7?'selected':'' }>已毕业</option>
                                    </#SelectCon>
                                </div>

                                </div>
                            </div>
                            <div class="col-lg-2 col-sm-3">
                                <div class="row">
                                    <div class="col-lg-12 col-sm-12">
                                        <#button name="搜索" icon="fa-search" clickFun="StudentList.search()"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <#table id="StudentListTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>

<div class="row btn-group-m-t">
    <div class="col-sm-12" style="text-align: right">
        <#button btnCss="info" name="确定毕业" id="ensure" icon="fa-check" clickFun="StudentList.finish();"/>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/ptClass/studentList.js"></script>
@}
